package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.DriverRecharge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-11-01
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface DriverRechargeMapper extends BaseMapper<DriverRecharge> {
    BigDecimal computeDriverBalance(Long driverId);

}
